import{d as x,a as r,o as t,b as a,w as e,E as v,A as y,Y as p,t as _,f as n,W as h,e as s,p as w,m as V}from"./index-c80Lh_is.js";import{T as g}from"./TagList-Rh-3ygnt.js";const k={class:"columns"},T=x({__name:"ExternalServiceDetailView",setup(C){return(B,D)=>{const d=r("KCard"),m=r("DataSource"),u=r("AppView"),f=r("RouteView");return t(),a(f,{name:"external-service-detail-view",params:{mesh:"",service:""}},{default:e(({route:i,t:c})=>[s(u,null,{default:e(()=>[s(m,{src:`/meshes/${i.params.mesh}/external-services/${i.params.service}`},{default:e(({data:o,error:l})=>[l?(t(),a(v,{key:0,error:l},null,8,["error"])):o===void 0?(t(),a(y,{key:1})):(t(),a(d,{key:2,"data-testid":"external-service-details"},{default:e(()=>[V("div",k,[s(p,null,{title:e(()=>[n(_(c("http.api.property.address")),1)]),body:e(()=>[s(h,{text:o.networking.address},null,8,["text"])]),_:2},1024),n(),o.tags?(t(),a(p,{key:0},{title:e(()=>[n(_(c("http.api.property.tags")),1)]),body:e(()=>[s(g,{tags:o.tags},null,8,["tags"])]),_:2},1024)):w("",!0)])]),_:2},1024))]),_:2},1032,["src"])]),_:2},1024)]),_:1})}}});export{T as default};
